package Dinghuo;

/**
 * @author lijunhao
 * 2023/7/13 练习
 * @description TODO
 */
public class User {

        private String name;
        private int orderNumber;

        public User(String name, int orderNumber) {
            this.name = name;
            this.orderNumber = orderNumber;
        }

        public void placeOrder(Override order) {
            System.out.println(name + "下单成功，订单号：" + orderNumber);
        }
}
